package dbutilsDemo.jorm;

import java.util.Date;

import org.apache.commons.lang.builder.ToStringBuilder;
import org.javaclub.jorm.annotation.Entity;
import org.javaclub.jorm.annotation.PK;

/***********************************************************************
 * Module: BBroadbandUser00.java Author: Administrator Purpose: Defines the
 * Class BBroadbandUser00
 ***********************************************************************/

@Entity(table = "B_BROADBAND_USER00")
@PK(value = { "username", "servicetype" })
public class BBroadbandUser {

	private String username;
	private String password;
	private int passwordtype;
	private int passwordflag;
	private String tmppassword;
	private int tmppasswordtype;
	private Date tmppwdexpdate;
	private String realm;
	private int servicetype;
	private String areano;
	private int paytype;
	private String paynum;
	private int balance;
	private int groupid;
	private int newgroupid;
	private int bindtype;
	private String bindattr;
	private int authortype;
	private String authorattr;
	private String framedip;
	private int limitusers;
	private int status;
	private int pausereason;
	private Date opendate;
	private String openoperator;
	private Date effectdate;
	private Date pausedate;
	private Date expiredate;
	private Date closedate;
	private Date moddate;
	private String modoperator;
	private int downbandwidth;
	private int upbandwidth;
	private Date billingdate;
	private int freeflag;
	private int limitusedvalue;
	private int currusedvalue;
	private Date curruseddate;
	private int roamlevel;
	private String carrytelephone;
	private String optionalservice;
	private String communityid;
	private int iptype;
	private String ipv6prefix;
	private String ipv6interfaceid;

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public int getPasswordtype() {
		return passwordtype;
	}

	public void setPasswordtype(int passwordtype) {
		this.passwordtype = passwordtype;
	}

	public int getPasswordflag() {
		return passwordflag;
	}

	public void setPasswordflag(int passwordflag) {
		this.passwordflag = passwordflag;
	}

	public String getTmppassword() {
		return tmppassword;
	}

	public void setTmppassword(String tmppassword) {
		this.tmppassword = tmppassword;
	}

	public int getTmppasswordtype() {
		return tmppasswordtype;
	}

	public void setTmppasswordtype(int tmppasswordtype) {
		this.tmppasswordtype = tmppasswordtype;
	}

	public Date getTmppwdexpdate() {
		return tmppwdexpdate;
	}

	public void setTmppwdexpdate(Date tmppwdexpdate) {
		this.tmppwdexpdate = tmppwdexpdate;
	}

	public String getRealm() {
		return realm;
	}

	public void setRealm(String realm) {
		this.realm = realm;
	}

	public int getServicetype() {
		return servicetype;
	}

	public void setServicetype(int servicetype) {
		this.servicetype = servicetype;
	}

	public String getAreano() {
		return areano;
	}

	public void setAreano(String areano) {
		this.areano = areano;
	}

	public int getPaytype() {
		return paytype;
	}

	public void setPaytype(int paytype) {
		this.paytype = paytype;
	}

	public String getPaynum() {
		return paynum;
	}

	public void setPaynum(String paynum) {
		this.paynum = paynum;
	}

	public int getBalance() {
		return balance;
	}

	public void setBalance(int balance) {
		this.balance = balance;
	}

	public int getGroupid() {
		return groupid;
	}

	public void setGroupid(int groupid) {
		this.groupid = groupid;
	}

	public int getNewgroupid() {
		return newgroupid;
	}

	public void setNewgroupid(int newgroupid) {
		this.newgroupid = newgroupid;
	}

	public int getBindtype() {
		return bindtype;
	}

	public void setBindtype(int bindtype) {
		this.bindtype = bindtype;
	}

	public String getBindattr() {
		return bindattr;
	}

	public void setBindattr(String bindattr) {
		this.bindattr = bindattr;
	}

	public int getAuthortype() {
		return authortype;
	}

	public void setAuthortype(int authortype) {
		this.authortype = authortype;
	}

	public String getAuthorattr() {
		return authorattr;
	}

	public void setAuthorattr(String authorattr) {
		this.authorattr = authorattr;
	}

	public String getFramedip() {
		return framedip;
	}

	public void setFramedip(String framedip) {
		this.framedip = framedip;
	}

	public int getLimitusers() {
		return limitusers;
	}

	public void setLimitusers(int limitusers) {
		this.limitusers = limitusers;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public int getPausereason() {
		return pausereason;
	}

	public void setPausereason(int pausereason) {
		this.pausereason = pausereason;
	}

	public Date getOpendate() {
		return opendate;
	}

	public void setOpendate(Date opendate) {
		this.opendate = opendate;
	}

	public String getOpenoperator() {
		return openoperator;
	}

	public void setOpenoperator(String openoperator) {
		this.openoperator = openoperator;
	}

	public Date getEffectdate() {
		return effectdate;
	}

	public void setEffectdate(Date effectdate) {
		this.effectdate = effectdate;
	}

	public Date getPausedate() {
		return pausedate;
	}

	public void setPausedate(Date pausedate) {
		this.pausedate = pausedate;
	}

	public Date getExpiredate() {
		return expiredate;
	}

	public void setExpiredate(Date expiredate) {
		this.expiredate = expiredate;
	}

	public Date getClosedate() {
		return closedate;
	}

	public void setClosedate(Date closedate) {
		this.closedate = closedate;
	}

	public Date getModdate() {
		return moddate;
	}

	public void setModdate(Date moddate) {
		this.moddate = moddate;
	}

	public String getModoperator() {
		return modoperator;
	}

	public void setModoperator(String modoperator) {
		this.modoperator = modoperator;
	}

	public int getDownbandwidth() {
		return downbandwidth;
	}

	public void setDownbandwidth(int downbandwidth) {
		this.downbandwidth = downbandwidth;
	}

	public int getUpbandwidth() {
		return upbandwidth;
	}

	public void setUpbandwidth(int upbandwidth) {
		this.upbandwidth = upbandwidth;
	}

	public Date getBillingdate() {
		return billingdate;
	}

	public void setBillingdate(Date billingdate) {
		this.billingdate = billingdate;
	}

	public int getFreeflag() {
		return freeflag;
	}

	public void setFreeflag(int freeflag) {
		this.freeflag = freeflag;
	}

	public int getLimitusedvalue() {
		return limitusedvalue;
	}

	public void setLimitusedvalue(int limitusedvalue) {
		this.limitusedvalue = limitusedvalue;
	}

	public int getCurrusedvalue() {
		return currusedvalue;
	}

	public void setCurrusedvalue(int currusedvalue) {
		this.currusedvalue = currusedvalue;
	}

	public Date getCurruseddate() {
		return curruseddate;
	}

	public void setCurruseddate(Date curruseddate) {
		this.curruseddate = curruseddate;
	}

	public int getRoamlevel() {
		return roamlevel;
	}

	public void setRoamlevel(int roamlevel) {
		this.roamlevel = roamlevel;
	}

	public String getCarrytelephone() {
		return carrytelephone;
	}

	public void setCarrytelephone(String carrytelephone) {
		this.carrytelephone = carrytelephone;
	}

	public String getOptionalservice() {
		return optionalservice;
	}

	public void setOptionalservice(String optionalservice) {
		this.optionalservice = optionalservice;
	}

	public String getCommunityid() {
		return communityid;
	}

	public void setCommunityid(String communityid) {
		this.communityid = communityid;
	}

	public int getIptype() {
		return iptype;
	}

	public void setIptype(int iptype) {
		this.iptype = iptype;
	}

	public String getIpv6prefix() {
		return ipv6prefix;
	}

	public void setIpv6prefix(String ipv6prefix) {
		this.ipv6prefix = ipv6prefix;
	}

	public String getIpv6interfaceid() {
		return ipv6interfaceid;
	}

	public void setIpv6interfaceid(String ipv6interfaceid) {
		this.ipv6interfaceid = ipv6interfaceid;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);

	}

}
